Markdown Syntax

中文: 中文 · Related Editing Modes · Math and Diagrams

This page is both a reference and a living sample. Open it in Inimark to see most formats rendered.

Embedded card:


Headings

# H1
## H2
### H3
#### H4
##### H5
###### H6

Shortcuts: Ctrl/⌘ + 1…6, paragraph Ctrl/⌘ + 0 (see Find Replace and Shortcuts).

Inline styles

EffectMarkup
bold**bold**
italic*italic*
both***both***
strike~~strike~~
highlight==highlight==
underline<u>underline</u>
code`code`
H2OH~2~O
E=mc2E=mc^2^
#tagMust start a line or follow whitespace: #tag / #parent/child. Glued forms like 的#define are not tags. YAML tags: also feed the index

Escape marks with \, e.g. \*\*not bold\*\*.

Reference-style links are supported for advanced layouts.

Lists

Unordered:

  • Alpha

  • Beta

    • Nested

    • Deeper

Ordered:

  1. First

  2. Second

  3. Third

Tasks:

  • Learn WYSIWYG

  • Write a [[wikilink]]

  • Publish the help site

List keyboard habits

ActionDefault
Bullet listAlt + Ctrl/⌘ + U
Ordered listAlt + Ctrl/⌘ + O
Task listAlt + Ctrl/⌘ + X
Indent / outdentTab / Shift + Tab (in lists)
Soft continueEnter follows list “staircase” rules

Leave a list by pressing Enter on an empty item (Typora-like).

Quotes and Callouts

Plain quote:

“The unexamined life is not worth living.” — a line knowledge-base essays love to cite.

Callouts

Neutral context that should not break the main thread.

Tip: Ctrl/⌘ + K inserts a Markdown link; for wikilinks just type [[.

Critical: when renaming files, mind link rewrite.

Warning: image paste-to-disk is not a finished pipeline — see Images and Attachments and Roadmap.

Danger: do not casually hand-edit .inimark/link-index.json.

Aliases: WARN / CAUTION map to warning.

Chooser card:

Code fences

```ts
export function hello(name: string): string {
  return `Hello, ${name}`;
}
```

Live example:

export function hello(name: string): string {
  return `Hello, ${name}`;
}

Language mermaid goes to diagram rendering → Math and Diagrams.

More languages and highlighting details → Code and Syntax Highlighting.

Tables

ModuleStatusDocs
Editor✅Editing Modes
Wikilinks✅Wikilinks and Embeds
Graph✅Relationship Graph
Tag pane✅ Tags sidebar: counts, notes, sort / expand / filterSearch Bookmarks Outline
Search by tag operators❌ No tag: yetRoadmap

Insert a starter table with Alt + Ctrl/⌘ + T. Move rows/columns with Alt + Ctrl/⌘ + Arrow (or Ctrl/⌘ + Ctrl + Arrow variants depending on platform). For heavily broken tables after a paste, switch to source mode, fix the pipes, then return.

Horizontal rule

Content above.


Content below.

Front matter

YAML at the top of this note:

---
title: Markdown Syntax
lang: en
translationKey: markdown-syntax
---

Used for titles and similar metadata; Publish reads title, and for multilingual sites also lang / translationKey (see Publish a Site).

TOC

Exact marker: put [toc] or [TOC] alone on a line, then press Enter. The editor turns it into a live table-of-contents atom (Typora-style). Before Enter, it is still plain text.

This help vault relies on the Outline sidebar instead, so these pages do not embed the marker.

HTML and comments

  • HTML blocks: allowed (use sparingly)

  • Comments: <!-- hides in reading flow -->

  • Excerpt break: a special HTML comment more-marker for publish/summary splits (not used in this help vault)

<!-- HTML comment sample -->

Emoji

Shortcodes: :smile: :rocket: :memo: (set depends on the emoji feature)

Or Unicode directly: 📝 🚀 ✨

Footnotes (partial)

A shortcut can insert [^]; full footnote rendering is incomplete — see Roadmap.

GoalRead
Code highlightingCode and Syntax Highlighting
Math / diagramsMath and Diagrams
ImagesImages and Attachments
KeysFind Replace and Shortcuts
WikilinksWikilinks and Embeds
ThemesThemes and Appearance

Prev: Editing Modes · Next: Code and Syntax Highlighting